package MtHuTool;

import cn.hutool.core.io.FileUtil;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

public class demo1 {
    public static void main(String[] args) {
//        File file = FileUtil.file("D:\\File", "ccc", "bbb", "aaa.txt");
//        System.out.println(file);
//        FileUtil.touch(file);
//        ArrayList<String> list = new ArrayList<>();
//        list.add("aaa00");
//        list.add("aaa00");
//        list.add("aaa00");
//        File file = FileUtil.writeLines(list, "D:\\File\\123.txt", "UTF-8");
//        System.out.println(file);
        List<String> list = FileUtil.readLines("D:\\File\\123.txt", "UTF-8");
        System.out.println(list);
    }
}
